package com.wizinno.android.urineflow.receiver;

import android.app.admin.DeviceAdminReceiver;
import android.content.Context;
import android.content.Intent;
import com.wizinno.android.urineflow.util.ToastUtil;

/**
 * @author LiuMei
 * @date 2020-11-18.
 */
public class ScreenOffAdminReceiver extends DeviceAdminReceiver {

    @Override
    public void onEnabled(Context context, Intent intent) {
        ToastUtil.showShort(context, "设备管理器启用");
    }

    @Override
    public void onDisabled(Context context, Intent intent) {
        ToastUtil.showShort(context, "设备管理器禁用");
    }

}
